package com.lwt.yygh.hosp.service;

import com.lwt.yygh.model.hosp.Department;
import com.lwt.yygh.vo.hosp.DepartmentQueryVo;
import com.lwt.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

/**
 * @Author Weton Li
 * @Date 2021/4/23 15:30
 */
public interface DepartmentService {

    // 上传科室信息
    void saveDept(Map<String,Object> paramMap);

    Page<Department> findPageDepartment(int page, int limit, DepartmentQueryVo departmentQueryVo);

    void removeDept(String hoscode, String depcode);

    List<DepartmentVo> findDeptTree(String hoscode);

    String getDepName(String hoscode, String depcode); // 根据科室编号和医院编号去查询科室名称
}
